package com.zjdiepu.www.model.base.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

import javax.validation.GroupSequence;

import org.hibernate.validator.constraints.NotBlank;
/**
 * 
 * 七牛通用请求
 */
@ApiModel(value="QiniuKeyRequest", description="七牛请求")
@GroupSequence({QiniuKeyRequest.class})
public class QiniuKeyRequest implements Serializable{
	private static final long serialVersionUID = 1L;
	
	/**
	 * 文件key
	 */
	@NotBlank(message="文件key{message.null}")
	@ApiModelProperty(name="key",required=true,value="文件key",example="asdfssdfaf322342342dfasfa.png")
	private String key;
	
	/**
	 * 是否返回原图
	 */
	@ApiModelProperty(name="bigImage",required=false,value="是否返回原图",example="0")
	private Boolean bigImage;

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public Boolean getBigImage() {
		return bigImage;
	}

	public void setBigImage(Boolean bigImage) {
		this.bigImage = bigImage;
	}

}
